<%-- 
    Document   : index
    Created on : Apr 17, 2011, 6:48:47 AM
    Author     : havn
--%>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include file="page\header.jsp" %>
<html:form action="ListTrans">
    <table width="100%" border="0">
        <tr>
            <td colspan="2"><h3>Customer Entry Form</h3></td>
        </tr>
        <tr>
            <td style="text-align: right">Account Number:</td>
            <td style="text-align: left"><html:text property="accNumber"></html:text></td>
        </tr>
        <tr>
            
            <td style="text-align: right">Password:</td>
            <td style="text-align: left"><html:password property="pass"></html:password></td>
        </tr>
        <tr>
            <td style="text-align: right">Transaction Type:</td>
            <td style="text-align: left">
                <html:radio property="transType" value="WDL"> Withdrawal</html:radio>
                <html:radio property="transType" value="DPS">Deposit</html:radio>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">Amount:</td>
            <td style="text-align: left">
                <html:text property="amount"></html:text>$
            </td>
        </tr>
        <tr>
            <td colspan="2" style="color: red;font-weight: bold">${error}</td>
        </tr>
        <tr>
            <td style="text-align: right"><button type="submit">Process the transaction</button></td>
            <td style="text-align: left"><button type="reset">Reset</button></td>
        </tr>
    </table>
</html:form>
    
<div style="width: 60%;font-weight: bold;text-align: left;color: red" align="center">
    <html:errors />
</div>


<%@include file="page\footer.jsp" %>                